class Table:
    def __init__(self, table_name, columns):
        self.table_name = table_name
        self.columns = columns

    def insert(self, data):
        """
        生成INSERT SQL语句
        :param data: 要插入的数据，字典形式 {column_name: value}
        :return: INSERT SQL语句
        """
        columns = ', '.join(data.keys())
        values = ', '.join([f"'{value}'" if isinstance(value, str) else str(value) for value in data.values()])
        sql = f"INSERT INTO {self.table_name} ({columns}) VALUES ({values});"
        return sql
